//
//  UIView+SIExtension.h
//  CampingLight
//
//  Created by Piccolo on 14/02/2018.
//  Copyright © 2018 SmartIT. All rights reserved.
//


@interface UIView (SIExtension)


+ (instancetype)createViewFromNib;

+ (instancetype)createViewFromNibName:(NSString *)nibName;

- (void)si_setWidth:(CGFloat)width;
- (void)si_setHeight:(CGFloat)height;
- (void)si_setOriginX:(CGFloat)x;
- (void)si_setOriginY:(CGFloat)y;
- (void)si_setRightOriginX:(CGFloat)x;
- (void)si_resetWithDeltaX:(CGFloat)deltaX deltaY:(CGFloat)deltaY deltaWidth:(CGFloat)deltaWidth deltaHeight:(CGFloat)deltaHeight;

@end
